<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page isELIgnored ="false" %>
<%@ taglib prefix="c" uri="jakarta.tags.core" %>

<%@ include file="partials/_start.jsp" %>

<main class="container mt-5">
    <div class="row">
        <div class="col-lg-8 mx-auto">
            <article>
                <h1 class="mb-4">${blog.title}</h1>
                <div class="blog-content">
                    ${blog.content}
                </div>
            </article>
            <div class="mt-5">
                <a href="blog-list" class="btn btn-primary">返回博客列表</a>
            </div>
        </div>
    </div>
</main>

<%@ include file="partials/_end.jsp" %>